﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 产业链支持_库存杂收单表头DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfIC_MiscRcvDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfIC_MiscRcvDTOData()
		{
			initData();
		}
		private void initData()
		{
					ID= 0; 
				
		
		
		
		
		
		
		
					IsUnRealReturn=false; 
					BenefitOrg= 0; 
							WhMan= 0; 
		
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        	        			if (this.MiscRcvDocType != null) 
			{
				this.MiscRcvDocType.DoSerializeKeyList(dict);
			}
	        			if (this.SOBAccountPeriod != null) 
			{
				this.SOBAccountPeriod.DoSerializeKeyList(dict);
			}
	        			if (this.MiscRcvTransLs!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData objdata in this.MiscRcvTransLs)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfIC_MiscRcvDTOData(  System.Int64 iD  , System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , System.String businessDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData miscRcvDocType  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData sOBAccountPeriod  , List<ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData> miscRcvTransLs  , System.String memo  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Boolean isUnRealReturn  , System.Int64 benefitOrg  , System.Int64 whMan  )
		{
			initData();
			this.ID = iD;
			this.DocNo = docNo;
			this.Org = org;
			this.BusinessDate = businessDate;
			this.MiscRcvDocType = miscRcvDocType;
			this.SOBAccountPeriod = sOBAccountPeriod;
			this.MiscRcvTransLs = miscRcvTransLs;
			this.Memo = memo;
			this.DescFlexField = descFlexField;
			this.IsUnRealReturn = isUnRealReturn;
			this.BenefitOrg = benefitOrg;
			this.WhMan = whMan;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 日期
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_miscRcvDocType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData MiscRcvDocType
		{
			get	
			{	
				return m_miscRcvDocType ;
			}
			set	
			{	
				m_miscRcvDocType = value ;	
			}
		}
			
		

		/// <summary>
		/// 记帐期间
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.记帐期间
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_sOBAccountPeriod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SOBAccountPeriod
		{
			get	
			{	
				return m_sOBAccountPeriod ;
			}
			set	
			{	
				m_sOBAccountPeriod = value ;	
			}
		}
			
		

		/// <summary>
		/// 杂收单行
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.杂收单行
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData> m_miscRcvTransLs ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData> MiscRcvTransLs
		{
			get	
			{	
				if (m_miscRcvTransLs == null )
				{
					List<ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfIC_MiscRcvTransLsDTOData>() ;
					m_miscRcvTransLs = n_m_list ;
				}
				return m_miscRcvTransLs ;
			}
			set	
			{	
				m_miscRcvTransLs = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 假退料
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.假退料
		/// </summary>
		private System.Boolean m_isUnRealReturn ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsUnRealReturn
		{
			get	
			{	
				return m_isUnRealReturn ;
			}
			set	
			{	
				m_isUnRealReturn = value ;	
			}
		}
			
		

		/// <summary>
		/// 受益组织
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.受益组织
		/// </summary>
		private System.Int64 m_benefitOrg ;
		[DataMember(IsRequired=false)]
		public System.Int64 BenefitOrg
		{
			get	
			{	
				return m_benefitOrg ;
			}
			set	
			{	
				m_benefitOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 库管员
		/// 产业链支持_库存杂收单表头DTO Copy.Misc.库管员
		/// </summary>
		private System.Int64 m_whMan ;
		[DataMember(IsRequired=false)]
		public System.Int64 WhMan
		{
			get	
			{	
				return m_whMan ;
			}
			set	
			{	
				m_whMan = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																								
		#endregion 
	} 	
}
